<?php

namespace App\Kuafu\Shop\Enum;

use App\Kuafu\Base\Enum\BaseCodeEnum;

class AreaCodeEnum extends BaseCodeEnum
{
    const AREA_PROVINCE = 1;
    const AREA_CITY     = 2;
    const AREA_AREA     = 3;

    const AREA_MAP = [
        self::AREA_PROVINCE => '省',
        self::AREA_CITY     => '市',
        self::AREA_AREA     => '区'
    ];

    const AREA_ARRAY_INDEX_0 = 0;
    const AREA_ARRAY_INDEX_1 = 1;
    const AREA_ARRAY_INDEX_2 = 2;
}
